package cn.xuguowen.user.designPatten.factory.config_factory;

/**
 * ClassName: Coffee
 * Package: cn.xuguowen.user.designPatten.factory.heima_factory_method
 * Description:
 * 具体产品——咖啡
 * @Author 徐国文
 * @Create 2023/4/25 18:07
 * @Version 1.0
 */
public abstract class Coffee {

    public abstract String getName();

    public void addMilk() {
        System.out.println("加奶");
    }

    public void addSugar() {
        System.out.println("加糖");
    }
}
